package com.kinghunt.misp.common.utils;


import org.apache.commons.lang3.RandomStringUtils;

public class CommonUtils {
    public static long generateUserId() {
        return Long.parseLong(RandomStringUtils.randomNumeric(10));
    }

    public static String generateUserName() {
        return RandomStringUtils.randomAlphabetic(20);
    }

    public static long generateOrderId() {
        return Long.parseLong(RandomStringUtils.randomNumeric(15));
    }

    public static String generateVerifyCode() {
        return RandomStringUtils.randomNumeric(4);
    }
}
